
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}

header {
    position: relative;
    height: 70px;
    background-color: #fff;
    box-shadow: 0 1px 5px rgb(0 0 0 /30%);
    text-align: right;
    z-index: 99;
}

.search-panel {
    position: absolute;
    display: block;
    width: 100%;
    top: -60px;
    left: 0;
    padding: 0 20px;
    z-index: 2;

}

.search-box {
    position: relative;
    height: 50px;
    background-color: #f1eded;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 20%);
}

.close-btn {
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #cbcbcb;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}

#search-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding-left: 20px;
}

.panel-right {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 999;
}

#side-out-right {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: absolute;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    z-index: 999;
    background-color: #fff;
}

.first-list {
    padding: 35px 0;
    position: relative;
    width: 100%;
    height: auto;
    background-image: url("../image/author_bg.png");
    background-size: 100% 100%;
    text-align: center;
}

.author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.author h3 {
    display: block;
    padding: 0;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    font-size: 1.8rem;
}

.author h6 {
    letter-spacing: 1px;
    color: #fff;
}

#side-out-right li a {
    padding: 15px 25px;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #333;
    font-size: 1.7rem;
    font-weight: 600;
    border-bottom: 1px solid #efeded;
    text-align: center;
}

.navbar-container {
    position: relative;
    width: 1040px;
    max-width: 100%;
    height: 70px;
    margin: 0 auto;
}

.navbar-logo {
    font-size: 22px;
    line-height: 35px;
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-block;
    width: auto;
    max-width: 50%;
    height: 35px;
    margin-top: -20px;
    margin-left: 25px;
    text-decoration: none;
}

.navbar-logo img {
    width: auto;
    height: 35px;
    outline: 0;
}

.fixed-nav {
    position: fixed;
    width: 100%;
    top: -70px;
    -webkit-transition: top .5s;
    -moz-transition: top .5s;
    -o-transition: top .5s;
    transition: top .5s;
}

.fixed-nav-appear {
    top: 0;
}

.fix_sec {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    -webkit-transition: top .5s;
    -moz-transition: top .5s;
    -o-transition: top .5s;
    transition: top .5s;
}

#navbar-menu {
    display: none;
    margin: 0;
    padding: 0;
    z-index: 10;
    width: auto;
    list-style-type: none;
}

#navbar-menu li {
    display: inline-block;
    height: 70px;
    line-height: 70px;
}

#navbar-menu li a {
    padding: 0 15px;
    color: #313131;
    text-decoration: none;
    transition: .3s;
}

#navbar-menu li a:hover {
    color: #e12845;
    transition: .3s;
}

.search-container {
    margin-right: 15px;
    display: inline-block;
    height: 70px;
    line-height: 70px;
}

.search-container img {
    height: 25px;
    width: auto;
}

.nav-mobile-button {
    position: relative;
    top: 5px;
    display: inline-block;
    margin-right: 15px;
    background-color: transparent;
    border: 1px solid transparent;
    outline: none;
}

.nav-mobile-button .icon-bar {
    display: block;
    margin-top: 5px;
    width: 22px;
    height: 2px;
    background: #515151;
    border-radius: 1px;
}

.icon-bar:first-child {
    color: red;
}

.rotate45 {
    transform-origin: center center; /*旋转中心要是正中间才行*/
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transition: transform 0.2s; /*过度时间 可调*/
    -webkit-transition: -webkit-transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    -ms-transition: -ms-transform 0.2s;
    -o-transition: -o-transform 0.2s;
}

.rotate135 {
    transform-origin: center center;
    transform: rotate(135deg); /*返回原点*/
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transition: transform 0.2s;
    -webkit-transition: -webkit-transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    -ms-transition: -ms-transform 0.2s;
    -o-transition: -o-transform 0.2s;
}

.page-main {
    position: relative;
    padding: 20px;
}

.noticeHead {
    padding: 0 10px;
    height: 25px;
}

.noticeHead div {
    position: relative;
    height: 25px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 20%);
    border: 1px solid #e6ebf5;
}

#notice-list {
    position: relative;
    padding-left: 3.2rem;
    list-style-type: none;
}

#notice-list li {
    height: 25px;
    line-height: 25px;
    white-space: nowrap
}

#notice-list li a {
    text-decoration: none;
    color: gray;
}

.post-body {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    height: 280px;
}

.post-body-item {
    position: relative;
    border-radius: 5px;
    height: 100%;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    transition: .3s;
    background-color: black;
    cursor: pointer;
    overflow: hidden;
}

.item-thumb {
    position: relative;
    display: inherit;
    min-height: 160px;
    -webkit-transition: -webkit-transform .5s ease, filter .5s ease;
    -moz-transition: -moz-transform .5s ease, filter .5s ease;
    transition: transform .5s ease, filter .5s ease;
    background-position: 0 0;
    background-size: cover;
}

.item-desc {
    position: absolute;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 40px 28px;
}

.sort_tag {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 12px;
    margin-top: 5px;
    padding: 2px 8px 2px 12px;
    background-image: linear-gradient(
            90deg, #ff9800 0, #eb5055 100%);
    color: #fff;
}

.sort_tag a {
    text-decoration: none;
    color: #fff;
}

.item-desc a {
    text-decoration: none;
    outline: 0;
}

.item-desc p {
    font-size: 14px;
    padding: 0;
    word-break: break-all;
    opacity: 0;
    color: #fff;
    margin-top: 100px;
}

.bg-deepgrey {
    background-color: rgba(0, 0, 0, .5) !important;
    transition: .3s;
}

.post-body-item:hover {
    transition: .3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)
}

.post-body-item:hover .item-desc p {
    -webkit-animation: fade-in .5s;
    animation: fade-in;
    animation-duration: .5s;
    opacity: 1;
    transition: .3s;
    margin-top: 0;
}

.post-body-item:hover .bg-deepgrey {
    opacity: .5;
    filter: blur(3px);
    background-size: cover;
    transform: scale(1.1);
    transition: .3s;
}

.item-label {
    position: relative;
    min-height: 100px;
    background-color: white;
    transition: .3s;
}

.item-title {
    padding: 10px 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.item-title a {
    font-size: 17px;
    line-height: 17px;
    word-break: break-all;
    color: #313131;
    text-decoration: none;
}

.item-meta {
    position: absolute;
    bottom: 0;
    cursor: default;
    padding-bottom: 5px;
    font-size: 12px;
    color: #999;
}

.item-meta i {
    font-size: 12px;
    padding-left: 20px;
    margin-right: 5px;
}

#pagenavi {
    margin-top: 30px;
}

.lists-navigator ol {
    margin: 0;
    padding: 0 10px;
    list-style-type: none;
    text-align: center;
}

.lists-navigator ol li {
    display: inline-block;
    color: #5f5f5f;
}

.lists-navigator ol li a {
    font-size: 14px;
    padding: 0 15px;
    color: #5f5f5f;
    text-decoration: none;
}

.lists-navigator ol li.current a {
    color: #eb5055;
}

.friends {
    margin-top: 40px;
    padding: 0 10px;
}

.friends-container {
    box-shadow: 0 1px 5px rgb(0 0 0 /30%);
    border-radius: 5px;
    padding: 5px 15px;
}

.friends-container h4 {
    font-size: 1.5rem;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
}

.friends-sub {
    float: right;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

.friends-sub:hover {
    text-decoration: none;
    color: #e12845;
    transition: .3s;
}

.friend-links {
    list-style-type: none;
    padding: 10px 30px;
}

.friend-links li {
    line-height: 30px;
    display: inline-block;
    margin-right: 15px;
}

.friend-links li a {
    color: #333;
}

.friend-links li a:hover {
    text-decoration: none;
    color: #e12845;
    transition: .3s;
}

.footer {
    color: #5f5f5f;
}

.social-list {
    padding: 10px;
    text-align: center;
}

.social-list a {
    font-size: 13px;
    padding: 0 10px;
    text-decoration: none;
    color: #5f5f5f;
}

.social-list a:hover {
    text-decoration: none;
    color: #e12845;
    transition: .3s;
}

.footer-social {
    border-bottom: 1px solid rgba(184, 197, 214, .2);
}

.footer-meta {
    padding: 20px;
    text-align: center;
}

.footer-meta a {
    color: #333;
}

.footer-meta a:hover {
    text-decoration: none;
    color: #e12845;
    transition: .3s;
}

#scroll-to-top {
    width: 40px;
    height: 40px;
    line-height: 37px;
    text-align: center;
    font-size: 18px;
    color: #9c9c9c;
    position: fixed;
    right: 50px;
    bottom: 50px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 100%;
    box-shadow: 0 0 25px 0 rgb(0 0 0 / 31%);
    opacity: .8;
    -webkit-transition: .5s ease all;
    -moz-transition: .5s ease all;
    -o-transition: .5s ease all;
    transition: .5s ease all;
}

article {
    padding-top: 0 !important;
}

.post-header h1 {
    font-size: 1.5em;
    line-height: 1.5;
}

.post-data, .post-data i {
    font-size: 12px;
    color: #a0a0a0;
}

.article-meta span {
    margin-right: 8px;
}

.post-content p {
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-word;
}

.post-tags {
    margin: 0;
    color: #a0a0a0;
    padding: 5px 0 15px;
    border-bottom: 1px dotted #e0e0e0
}

.post-tags a{
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin: 5px 8px 0 0;
    padding: 3px 15px;
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
    letter-spacing: 0
}

.post-tags a:nth-child(1n) {
    color: #fff;
    border: 1px solid #6fa3ef;
    border-radius: 15px;
    background: #6fa3ef
}

.post-tags a:nth-child(2n) {
    color: #fff;
    border: 1px solid #ff9800;
    border-radius: 15px;
    background: #ff9800
}

.post-tags a:nth-child(3n) {
    color: #fff;
    border: 1px solid #46c47c;
    border-radius: 15px;
    background: #46c47c
}

.post-tags a:nth-child(4n) {
    color: #fff;
    border: 1px solid #f9bb3c;
    border-radius: 15px;
    background: #f9bb3c
}

.post-tags a:nth-child(5n) {
    color: #fff;
    border: 1px solid #bc99c4;
    border-radius: 15px;
    background: #bc99c4
}

.post-tags a:nth-child(6n) {
    color: #fff;
    border: 1px solid #e8583d;
    border-radius: 15px;
    background: #e8583d
}
.post-tags a:hover{
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
}
.neigborhood {
    margin: 25px 0 30px 0;
    overflow: hidden;
    font-size: 14px;
    color: #bbb;
}
.prevlog a,.nextlog a {
    color: #bbb;
    text-decoration: none;
    padding-left: 15px;
}
.neigborhood a:hover{
    color: #7a7a7a;
}
.post-content p {
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.8;
}

.post-info {
    margin: 20px 0;/*
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;*/
}
.post-content p a {
    color: #313131;
    border-bottom: 1px solid #ccc;
}
.post-content p a:hover{
    color: #e12845;
}
select{
    width:200px;
    height:30px;
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    background-size:10%;
    font-size:16px;
    color:#666;
    outline:none;
}
@media (min-width: 576px) {
    .post-body {
        float: left;
        width: 50%;
    }

    .item-thumb {
        background-position: 50% 50%;
    }
}

@media (min-width: 768px) {
    .page-main {
        margin: 0 auto;
        width: 80%;
    }

    #navbar-menu {
        display: inline-block;
    }

    .nav-mobile-button {
        display: none;
    }

    .social-list a {
        padding: 0 25px;
    }
    .prevlog {
        position: relative;
        width: 50%;
        float: left;
    }
    .nextlog {
        position: relative;
        width: 50%;
        float: left;
        text-align: right;
    }
}

@media (min-width: 876px) {
    .post-body {
        float: left;
        width: 33.333%;
    }

    article {
        margin: 0 auto;
        max-width: 700px;
    }
    .prevlog {
        position: relative;
        width: 50%;
        float: left;
    }
    .nextlog {
        position: relative;
        width: 50%;
        float: left;
        text-align: right;
    }
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #f67826;
    -webkit-border-radius: 4px;
}

::-webkit-scrollbar-track-piece {
    background-color: #fff;
    -webkit-border-radius: 0;
}

::selection {
    color: #fff;
    background-color: #eb5055;
}